package com.mamba.microservice.dubbo.enums;

/**
 * Copyright ©2020 360jinrong All Rights Reserved
 * 请添加类/接口的说明：
 *
 * @Package: com.mamba.microservice.dubbo.log
 * @author: fangjin
 * @date: 2020年04月20日 15时11分
 */
public enum EnumStatus {
    /**
     * 调用成功
     */
    SUCCESS("SUCCESS", "成功"),
    /**
     * 调用失败
     */
    FAIL("FAIL", "失败");

    private String code;
    private String desc;

    EnumStatus(String code, String desc) {
        this.code = code;
        this.desc = desc;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getDesc() {
        return desc;
    }

    public void setDesc(String desc) {
        this.desc = desc;
    }

}
